package com.qingke.stockdata.model;

import java.util.Date;

public class StockData {

	private int id;
	private String code;// 股票编码
	private Date date;// 日期
	private double open;// 开盘价格
	private double high;//最高价格
	private double low;// 最低价格
	private double close;// 关盘价格
	private int volume;// 成交量
	private double adjclose;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public double getOpen() {
		return open;
	}

	public void setOpen(double open) {
		this.open = open;
	}

	public double getHigh() {
		return high;
	}

	public void setHigh(double high) {
		this.high = high;
	}

	public double getLow() {
		return low;
	}

	public void setLow(double low) {
		this.low = low;
	}

	public double getClose() {
		return close;
	}

	public void setClose(double close) {
		this.close = close;
	}

	public int getVolumn() {
		return volume;
	}

	public void setVolumn(int volume) {
		this.volume = volume;
	}

	public double getAdjclose() {
		return adjclose;
	}

	public void setAdjclose(double adjclose) {
		this.adjclose = adjclose;
	}

	@Override
	public String toString() {
		return "StockData [id=" + id + ", code=" + code + ", date=" + date + ", open=" + open + ", high=" + high
				+ ", low=" + low + ", close=" + close + ", volumn=" + volume + ", adjclose=" + adjclose + "]";
	}
}
